package com.seagull.core.test.desing.proxy.jingtai;

/**
 * @author:jian.zhou
 * @DATE: 2017/12/21.
 * @Version:0.0.1
 * @Desc:
 */
public class ProxyStar implements Star{

    private Star star;

    public ProxyStar ( Star star ){
        this.star = star;
    }

    @Override
    public void confer() {
        System.out.println("经济人 面谈 ");
    }

    @Override
    public void signContract() {
        System.out.println("经济人 签合同 ");
    }

    @Override
    public void bookTicket() {
        System.out.println("经济人 maipiao ");
    }

    @Override
    public void sing() {
        star.sing();
    }

    @Override
    public void collectMoney() {
        System.out.println("经济人 收钱 ");
    }
}
